package com.tianshi.yingxue.service;

import com.tianshi.yingxue.entity.Admin;

import java.io.IOException;
import java.util.Map;

public interface AdminService {
    void register(Admin admin);

    Map<String,String> getImageCodes() throws IOException;

    Map<String, String> login(Admin admin, String token);

    Admin getUserInfo(String token);

    void logout(String token);



}
